package ar.com.ctrln.control.calendar;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import ar.com.ctrln.persistence.model.evento.TemaEvento;
import ar.com.ctrln.services.evento.GestorTemaEvento;

@Controller("consultarTemaEvento")
public class ConsultarTemaEvento {

	@Autowired
	private GestorTemaEvento gestorTemaEvento;

	public Collection<? extends TemaEvento> listarEventos() {
		return gestorTemaEvento.listTemas();
	}

}
